*{
    margin: 0;
    padding: 0;
}
@overall-width:750;
html{
    font-size: 5.3333vw;
    background-color: #eff0f4;
}
.w{
    margin: 0 auto;
    width: 17.325rem;
}
a{
    text-decoration: none;
}
// 设置头部容器
.top-bar:extend(.w){
    //开启弹性容器
    display: flex;
    height: 4.375rem;
    line-height: 4.375rem;
    //设置对齐方式
    justify-content: space-between;
    // background-color: #bfa;
    //设计辅轴的对齐方式
    align-items: center;
    a{
        color: #24253d;
        font-size: 1.25rem;
        i{
            color: #999;
            font-size: 1rem;
        }
    }
}
//设置轮播图
.banner:extend(.w){
    img{
        width: 100%;
    }
}
//设置中间菜单
.menu:extend(.w){
    //确定菜单容器高度
    height: 8.225rem;
    //设置弹性元素
    display: flex;
    //设置主轴方向的对齐
    justify-content: space-between;
    //设置辅轴方向的对齐
    align-content: space-around;
    //设置换行
    flex-flow: row wrap;
    //设置框的大小
    a{
        width: 8.175rem;
        height: 2.6rem;
        line-height: 2.6rem;
        text-align: center;
        color: white;
        border-radius: 10px;
        font-size: 16px;
        
    }
    .course{
        background-color: #f97053;
    }
    .star{
        background-color: #cd6efe;
    }
    .sub{
        background-color: rgb(255,57,113);
    }
    .download{
        background-color: rgb(29,146,255);
    }
    i{
        margin-right: 10px;
    }
}
//设置课程列表
.course-list:extend(.w){
    height: 9.85rem;
    display: flex;
    flex-flow: column;
    justify-content:space-between;
    margin-bottom: 1.15rem;
    //设置标题头
    .title{
        display: flex;
        // background-color: #bfa;
        //设置主轴空白空间分布
        justify-content: space-between;
        //设置辅轴项目对齐方式
        align-items: center;
        h2{
            font-size: 0.825rem;
            color: #24253d;
            border-left: 2px solid #3a84ff;
            padding-left: 6px;
        }
        a{
            font-size: 0.7rem;
            color: #656565;
        }
    }
}
//设置课程列表
.item-list{
    display: flex;
    overflow: scroll;
    width: 18rem;
}
.item{
    box-sizing: border-box;
    width: 8rem;
    height: 8.1rem;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, .3);
    border-radius: 5px;
    padding: 0 0.55rem;
    display: flex;
    flex-flow: column;
    justify-content: space-evenly;
    margin-right: 0.6rem;
    flex: none;
    img{
        width: 100%;
    }
    .course-title{
        font-size: 0.6765rem;
        color: #24253d;
    }
    .user-info{
        display: flex;
        align-items: center;
    }
    .avatar{
        width: 1.05rem;
        height: 1.05rem;
    }
    .nickname{
        font-size: 0.6rem;
        color: #969393;
        margin-left: 6px;
    }
}